/**
 * Created by minigci.he on 16/9/9.
 */
console.log('-------------------------')
console.log('test7')
var obj = {}
var foo = Symbol('foo');
Object.defineProperty(obj,foo,{
    value: 'foobar'
})
for(var i in obj){
    console.log(i);
}

var value1 = Object.getOwnPropertyNames(obj);
console.log(value1);

var value2 = Object.getOwnPropertySymbols(obj);
console.log(value2);